import request from '@/utils/request'

export function getFrequentlys(query) {
  return request({
    url: '/program/frequently/getList',
    method: 'post',
    data: query
  })
}

export function getFrequently(id) {
  return request({
    url: '/program/frequently/getDetail',
    method: 'post',
    data: id
  })
}

export function saveFrequently(id) {
  return request({
    url: '/program/frequently/save',
    method: 'post',
    data: id
  })
}

export function removeFrequentlyByID(id) {
  return request({
    url: '/program/frequently/delete',
    method: 'post',
    data: id
  })
}

export function changeFrequentlyStatusByID(id) {
  return request({
    url: '/program/frequently/change-status',
    method: 'post',
    data: id
  })
}

